package com.datastructure.test.stringsummary;

import java.math.BigInteger;

public class StringSummary {

    public static void main(String[] args) {

    }

    public String solve (String s, String t) {
        // write code here
        BigInteger intS = stringToInteger(s);
        BigInteger intT = stringToInteger(t);
        BigInteger add = intS.add(intT);
        return String.valueOf(add);
    }

    private BigInteger stringToInteger(String s) {
        if(s.equals("")){
            return BigInteger.ZERO;
        }
        return new BigInteger(s);
    }
}
